projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7506e9
)
xsm/flask: Add missing unlock on error path
author
Daniel De Graaf
<dgdegra@tycho.nsa.gov>
Sun, 18 Dec 2011 14:32:06 +0000
(14:32 +0000)
committer
Daniel De Graaf
<dgdegra@tycho.nsa.gov>
Sun, 18 Dec 2011 14:32:06 +0000
(14:32 +0000)
Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
xen/xsm/flask/ss/services.c
patch
|
blob
|
history
diff --git
a/xen/xsm/flask/ss/services.c
b/xen/xsm/flask/ss/services.c
index c810e9b38772ce9820c4a6da07a7dd79e91ecf57..7b08e73c4228974be8278352eccffae190773592 100644
(file)
--- a/
xen/xsm/flask/ss/services.c
+++ b/
xen/xsm/flask/ss/services.c
@@
-1428,6
+1428,7
@@
int security_load_policy(void *data, size_t len)
}
if ( validate_classes(&policydb) )
{
+ LOAD_UNLOCK;
printk(KERN_ERR
"Flask: the definition of a class is incorrect\n");
sidtab_destroy(&sidtab);